﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Content.Master" Inherits="System.Web.Mvc.ViewPage<MethodWorx.CMS.UI.Models.ConfigurePageTemplateModel>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <script language="javascript">
        $(document).ready(function () {

            $("#createParent").click(function () {
                window.parent.openDialog('<%=Url.Content("~/AbstractPageTemplate")%>/Create/<%=this.Model.PageTemplateBasicDetails.Id %>', "Parent Page Template");
            });

      
        });
    </script>


    <%using (Html.BeginForm("BasicDetails", "ConfigurePageTemplate"))
      { %>
        <%Html.RenderPartial("PageTemplateBasicDetails", this.Model.PageTemplateBasicDetails); %>
        <%=Html.FormButtons((b) =>
        {
            b.Submit("save", "Save");
        })%>
    <%} %>

</asp:Content>
